<div class="paging flexce flexace">
    <a class="none" href="/{$catInfo.rewrite_url?page=1}" title="{$systemInfo.name}"> front page </a>

    {gt name="pageInfo.pageIndex" value="1" }
    <!-- 上一页 -->
    <a class="paging-icon" href="{$catInfo.urlrewriter}?page={$pageInfo['pageIndex']-1}"><em
            class="iconfont icon-ljiantou1"></em></a>
    {/gt}

    {for start="1" end="$pageInfo['totalPage']+1"}
        <a class="{if $pageIndex == $i}active{/if}" href="/{$catInfo.urlrewriter}?page={$i}">1</a>
    {/for}

    {lt name="$pageIndex" value="$pageInfo.totalPage"}
        <!-- 下一页 -->
        <a class="paging-icon" href="/{$catInfo.urlrewriter}?page={$pageInfo['pageIndex']+1}">
            <em class="iconfont icon-rjiantou1"></em>
        </a>
    {/lt}
    <a class="none" href="/{$catInfo.rewrite_url}?page={$pageInfo.totalPage}" title="{$systemInfo.name}"> End page </a>
</div>